package cn.hsa.fqz.task.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * 
 * @TableName t_user_mapping
 */
@TableName(value ="t_user_mapping")
public class TUserMappingDO implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String userAcctId;

    /**
     * 
     */
    private String userAcct;

    /**
     * 
     */
    private String uactId;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String orgUntId;

    /**
     * 
     */
    private String orgName;

    /**
     * 
     */
    private String orgCodg;

    /**
     * 
     */
    private String deptId;

    /**
     * 
     */
    private String deptName;

    /**
     * 
     */
    private String poolAreaCodg;

    /**
     * 
     */
    private String admDvs;

    /**
     * 
     */
    private String prntOrgId;

    /**
     * 
     */
    private String poolAreaMap;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Long getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getUserAcctId() {
        return userAcctId;
    }

    /**
     * 
     */
    public void setUserAcctId(String userAcctId) {
        this.userAcctId = userAcctId;
    }

    /**
     * 
     */
    public String getUserAcct() {
        return userAcct;
    }

    /**
     * 
     */
    public void setUserAcct(String userAcct) {
        this.userAcct = userAcct;
    }

    /**
     * 
     */
    public String getUactId() {
        return uactId;
    }

    /**
     * 
     */
    public void setUactId(String uactId) {
        this.uactId = uactId;
    }

    /**
     * 
     */
    public String getName() {
        return name;
    }

    /**
     * 
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 
     */
    public String getOrgUntId() {
        return orgUntId;
    }

    /**
     * 
     */
    public void setOrgUntId(String orgUntId) {
        this.orgUntId = orgUntId;
    }

    /**
     * 
     */
    public String getOrgName() {
        return orgName;
    }

    /**
     * 
     */
    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    /**
     * 
     */
    public String getOrgCodg() {
        return orgCodg;
    }

    /**
     * 
     */
    public void setOrgCodg(String orgCodg) {
        this.orgCodg = orgCodg;
    }

    /**
     * 
     */
    public String getDeptId() {
        return deptId;
    }

    /**
     * 
     */
    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    /**
     * 
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * 
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /**
     * 
     */
    public String getPoolAreaCodg() {
        return poolAreaCodg;
    }

    /**
     * 
     */
    public void setPoolAreaCodg(String poolAreaCodg) {
        this.poolAreaCodg = poolAreaCodg;
    }

    /**
     * 
     */
    public String getAdmDvs() {
        return admDvs;
    }

    /**
     * 
     */
    public void setAdmDvs(String admDvs) {
        this.admDvs = admDvs;
    }

    /**
     * 
     */
    public String getPrntOrgId() {
        return prntOrgId;
    }

    /**
     * 
     */
    public void setPrntOrgId(String prntOrgId) {
        this.prntOrgId = prntOrgId;
    }

    /**
     * 
     */
    public String getPoolAreaMap() {
        return poolAreaMap;
    }

    /**
     * 
     */
    public void setPoolAreaMap(String poolAreaMap) {
        this.poolAreaMap = poolAreaMap;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TUserMappingDO other = (TUserMappingDO) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUserAcctId() == null ? other.getUserAcctId() == null : this.getUserAcctId().equals(other.getUserAcctId()))
            && (this.getUserAcct() == null ? other.getUserAcct() == null : this.getUserAcct().equals(other.getUserAcct()))
            && (this.getUactId() == null ? other.getUactId() == null : this.getUactId().equals(other.getUactId()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getOrgUntId() == null ? other.getOrgUntId() == null : this.getOrgUntId().equals(other.getOrgUntId()))
            && (this.getOrgName() == null ? other.getOrgName() == null : this.getOrgName().equals(other.getOrgName()))
            && (this.getOrgCodg() == null ? other.getOrgCodg() == null : this.getOrgCodg().equals(other.getOrgCodg()))
            && (this.getDeptId() == null ? other.getDeptId() == null : this.getDeptId().equals(other.getDeptId()))
            && (this.getDeptName() == null ? other.getDeptName() == null : this.getDeptName().equals(other.getDeptName()))
            && (this.getPoolAreaCodg() == null ? other.getPoolAreaCodg() == null : this.getPoolAreaCodg().equals(other.getPoolAreaCodg()))
            && (this.getAdmDvs() == null ? other.getAdmDvs() == null : this.getAdmDvs().equals(other.getAdmDvs()))
            && (this.getPrntOrgId() == null ? other.getPrntOrgId() == null : this.getPrntOrgId().equals(other.getPrntOrgId()))
            && (this.getPoolAreaMap() == null ? other.getPoolAreaMap() == null : this.getPoolAreaMap().equals(other.getPoolAreaMap()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUserAcctId() == null) ? 0 : getUserAcctId().hashCode());
        result = prime * result + ((getUserAcct() == null) ? 0 : getUserAcct().hashCode());
        result = prime * result + ((getUactId() == null) ? 0 : getUactId().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getOrgUntId() == null) ? 0 : getOrgUntId().hashCode());
        result = prime * result + ((getOrgName() == null) ? 0 : getOrgName().hashCode());
        result = prime * result + ((getOrgCodg() == null) ? 0 : getOrgCodg().hashCode());
        result = prime * result + ((getDeptId() == null) ? 0 : getDeptId().hashCode());
        result = prime * result + ((getDeptName() == null) ? 0 : getDeptName().hashCode());
        result = prime * result + ((getPoolAreaCodg() == null) ? 0 : getPoolAreaCodg().hashCode());
        result = prime * result + ((getAdmDvs() == null) ? 0 : getAdmDvs().hashCode());
        result = prime * result + ((getPrntOrgId() == null) ? 0 : getPrntOrgId().hashCode());
        result = prime * result + ((getPoolAreaMap() == null) ? 0 : getPoolAreaMap().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userAcctId=").append(userAcctId);
        sb.append(", userAcct=").append(userAcct);
        sb.append(", uactId=").append(uactId);
        sb.append(", name=").append(name);
        sb.append(", orgUntId=").append(orgUntId);
        sb.append(", orgName=").append(orgName);
        sb.append(", orgCodg=").append(orgCodg);
        sb.append(", deptId=").append(deptId);
        sb.append(", deptName=").append(deptName);
        sb.append(", poolAreaCodg=").append(poolAreaCodg);
        sb.append(", admDvs=").append(admDvs);
        sb.append(", prntOrgId=").append(prntOrgId);
        sb.append(", poolAreaMap=").append(poolAreaMap);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}